def arredondar(number, casa = 1):
    num = ""
    number = list(str(float(number)))
    index = number.index(".")
    newindex = int(number[index + casa])
    try:
        while number[newindex] == "4":
            newindex += 1
    except IndexError:
        newindex -= 1
    if int(number[newindex]) >= 5:
        number[index + casa] = str(int(number[index + casa]) + 1)
    number = number[0:index + casa + 1]
    for casa in number:
        num += casa
    return num
